Fix regression in QPointF::operator==
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
Mon, 9 Jul 2018 13:30:49 +0000 (15:30 +0200)
committerSimon Quigley <tsimonq2@ubuntu.com>
Sat, 25 Aug 2018 17:32:18 +0000 (18:32 +0100)
commit1802a738f9845b7ac38ebec143bca588d9df02c6
tree9688425c2ef423a4a919665a99344842ff30775e
parent7ae38c42fdac79c039c4b0cc7e719fa167b023d4
Fix regression in QPointF::operator==

Handle hard zero independently in each coordinate, otherwise hard zero
is never equal to anything but itself.

Task-number: QTBUG-69368
Change-Id: I8b1131472bb92efc706a04e0b067e2211a5ccb0c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Gbp-Pq: Name fix_regresion_in_QPointF_operator_equals.patch
src/corelib/tools/qpoint.h
tests/auto/corelib/tools/qpointf/tst_qpointf.cpp